﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    //访问不受限制，所有项目都可访问
    public class Student
    {
        //访问不受限制的学生名字；
        public String StudentName { get; set; }
        //仅能类内部成员访问的私密学生性别
        private String StudentSex { get; set; }
        //本项目成员可访问的学生学号
        internal int Studentcode { get; set; }
        //类成员及类的衍生可以访问的学生身高 
        protected int StudentHeight { get; set; }


    }
    //仅能本项目访问
    internal class Teacher
    {
        //本项目内无访问限制且静态的老师名字
        public static String TeacherName { get; set; }
        //声明老师年龄仅读
        readonly int Year;
        Teacher(int Year1)
        {
            int Year = Year1;
        }


    }
    //仅本项目内可访问的抽象类，类名校长
    internal abstract class TeacherBoss
    {
        
    };
    //仅在本项目内可访问的非继承，密封类
    internal sealed class Runingman
    {

    };
    //无访问限制的静态类
    public static class Surperman
    {
            
    };
    



}
